package org.west.sky.frame.activiti.study.chapter15.demo03;

import org.apache.camel.builder.RouteBuilder;

/**
 * author: chz
 * date: 2025/4/22
 * description:
 */
public class GetIpInfoCamelCallRoute extends RouteBuilder {
    @Override
    public void configure() throws Exception {
        from("activiti:Chapter15_3:sid-1c062369-e39e-440f-b7fd-713cec20eb41?copyVariablesToProperties=true")
                .toD("http://ip-api.com/json/${property.ip}?lang=zh-CN&bridgeEndpoint=true").process(new ResultProcessor());
    }
}